package com.jk.garden1.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.garden1.entity.UserMiniEntity;
import com.jk.garden1.entity.UserTableEntity;
import com.jk.garden1.entity.UserVisitorEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMinDao extends BaseMapper<UserMiniEntity> {
    /**
     * 修改个人信息
     * @param userMiniEntity
     * @return
     */
    void updateUser(UserMiniEntity userMiniEntity);

    UserMiniEntity queryPhone(String phone);

    /**
     * 查询条数据
     * @param id
     * @return
     */
    UserMiniEntity queryUserOne(String id);
    /**
     *
     * 扫一扫添加到访
     */
    UserMiniEntity findUserInfo(String visitantname);


    /**
     * 新增员工邀请码
     * @param userMiniEntity
     */
    


    /**
     * 根据ID查询
     * @param id
     * @return
     */
//    List<UserMiniEntity> queryLoginById(String id);
}
